---开局移除双股剑
local rule = fk.CreateSkill {
  name = "#th_pile_skill",
}

rule:addEffect(fk.GamePrepared, {
  global = true,
  mute = true,
  can_refresh = function(self, event, target, player, data)
    return player.seat == 1 and not table.contains(player.room.disabled_packs, "2hu__standard_cards")
  end,
  on_refresh = function(self, event, target, player, data)
    local room = player.room
    for _, id in ipairs(Fk:getAllCardIds()) do
      if Fk:getCardById(id).name == "double_swords" then
        -- table.insertIfNeed(room.void, id)
        -- room:setCardArea(id, Card.Void, nil)
        -- table.removeOne(room.draw_pile, id)
        room:changeCardArea(id, Card.Void)
      end
    end
    room:syncDrawPile()
  end
})

return rule
